/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Interfacemain.java
 *
 * Created on Jul 13, 2011, 9:08:01 AM
 */
package employee;


import project.*;
import javax.swing.JOptionPane;


/**
 *
 * @author kaka
 */
public class Employee extends javax.swing.JFrame {

    /** Creates new form Interfacemain */
    public Employee() {
        initComponents();
        this.setVisible(true);
        this.setLocationRelativeTo(null);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        lbAbout = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        lbHelp = new javax.swing.JLabel();
        Namelogin = new javax.swing.JLabel();
        jLabel21 = new javax.swing.JLabel();
        lblogout = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jPanel2 = new javax.swing.JPanel();
        lbevent = new javax.swing.JLabel();
        infor = new javax.swing.JLabel();
        lbcontact = new javax.swing.JLabel();
        lbnews = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jPanel3 = new javax.swing.JPanel();
        btuppdate = new javax.swing.JButton();
        jLabel16 = new javax.swing.JLabel();
        jLabel17 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();
        jLabel19 = new javax.swing.JLabel();
        jPanel4 = new javax.swing.JPanel();
        jLabel10 = new javax.swing.JLabel();
        lbassignleve = new javax.swing.JLabel();
        lbassigndoctorserve = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jLabel26 = new javax.swing.JLabel();
        jLabel27 = new javax.swing.JLabel();
        jLabel28 = new javax.swing.JLabel();
        jLabel20 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        jPanel1.setLayout(null);

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/home.jpg"))); // NOI18N
        jLabel1.setText("<html><font color = blue>Home</font></html>");
        jLabel1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jLabel1MouseClicked(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jLabel1MouseExited(evt);
            }
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                jLabel1MouseReleased(evt);
            }
        });
        jLabel1.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                jLabel1MouseMoved(evt);
            }
        });
        jPanel1.add(jLabel1);
        jLabel1.setBounds(370, 60, 70, 30);

        jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/support.jpg"))); // NOI18N
        jLabel2.setText("<html><font color = blue>Support</font></html>");
        jLabel2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jLabel2MouseExited(evt);
            }
        });
        jLabel2.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                jLabel2MouseMoved(evt);
            }
        });
        jPanel1.add(jLabel2);
        jLabel2.setBounds(460, 60, 80, 30);

        lbAbout.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/about.jpg"))); // NOI18N
        lbAbout.setText("<html><font color = blue>About</font></html>");
        lbAbout.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseExited(java.awt.event.MouseEvent evt) {
                lbAboutMouseExited(evt);
            }
        });
        lbAbout.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbAboutMouseMoved(evt);
            }
        });
        jPanel1.add(lbAbout);
        lbAbout.setBounds(570, 60, 70, 30);

        jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/logo.jpg"))); // NOI18N
        jPanel1.add(jLabel4);
        jLabel4.setBounds(210, 0, 120, 90);

        lbHelp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/help.jpg"))); // NOI18N
        lbHelp.setText("<html><font color = blue>Help</font></html>");
        lbHelp.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseExited(java.awt.event.MouseEvent evt) {
                lbHelpMouseExited(evt);
            }
        });
        lbHelp.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbHelpMouseMoved(evt);
            }
        });
        jPanel1.add(lbHelp);
        lbHelp.setBounds(670, 61, 70, 30);

        Namelogin.setText("<html><font color = blue>Employee</font></html>");
        jPanel1.add(Namelogin);
        Namelogin.setBounds(700, 0, 50, 20);

        jLabel21.setText("<html><font color = blue>Welcome:</font></html>");
        jPanel1.add(jLabel21);
        jLabel21.setBounds(630, 0, 70, 20);

        lblogout.setText("<html><font color = blue><b>Log out</b></font></html>");
        lblogout.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                lblogoutMouseClicked(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                lblogoutMouseExited(evt);
            }
        });
        lblogout.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lblogoutMouseMoved(evt);
            }
        });
        jPanel1.add(lblogout);
        lblogout.setBounds(700, 20, 50, 30);

        jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/top1.jpg"))); // NOI18N
        jPanel1.add(jLabel3);
        jLabel3.setBounds(0, -40, 850, 170);

        jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        jPanel2.setLayout(null);

        lbevent.setText("<html><font color = red>Event</font></html>");
        lbevent.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseExited(java.awt.event.MouseEvent evt) {
                lbeventMouseExited(evt);
            }
        });
        lbevent.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbeventMouseMoved(evt);
            }
        });
        jPanel2.add(lbevent);
        lbevent.setBounds(30, 90, 50, 20);

        infor.setText("<html><font color =red><b>Information of my company</b></font></html>");
        infor.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseExited(java.awt.event.MouseEvent evt) {
                inforMouseExited(evt);
            }
        });
        infor.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                inforMouseMoved(evt);
            }
        });
        jPanel2.add(infor);
        infor.setBounds(10, 330, 100, 40);

        lbcontact.setText("<html><font color =red>Contact</font></html>");
        lbcontact.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseExited(java.awt.event.MouseEvent evt) {
                lbcontactMouseExited(evt);
            }
        });
        lbcontact.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbcontactMouseMoved(evt);
            }
        });
        jPanel2.add(lbcontact);
        lbcontact.setBounds(30, 130, 50, 14);

        lbnews.setText("<html><font color = red>News</font></html>");
        lbnews.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseExited(java.awt.event.MouseEvent evt) {
                lbnewsMouseExited(evt);
            }
        });
        lbnews.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbnewsMouseMoved(evt);
            }
        });
        jPanel2.add(lbnews);
        lbnews.setBounds(30, 50, 50, 30);

        jLabel6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/isttask.jpg"))); // NOI18N
        jPanel2.add(jLabel6);
        jLabel6.setBounds(0, 0, 120, 430);

        jPanel3.setBackground(new java.awt.Color(153, 153, 255));
        jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder(""));

        btuppdate.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/ll.PNG"))); // NOI18N
        btuppdate.setText("<html><font color = blue><b>check for Update</b></font></html>");

        jLabel16.setText("<html><font color = blue>Version Installed:</font></html>");

        jLabel17.setText("<html><font color = blue>Last update:</font></html>");

        jLabel18.setText("<html><font color = red>1.0.2</font></html>");

        jLabel19.setText("<html><font color = red>22/12/2012</font></html>");

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addGap(338, 338, 338)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(32, 32, 32)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 102, Short.MAX_VALUE)
                .addComponent(btuppdate, javax.swing.GroupLayout.PREFERRED_SIZE, 159, javax.swing.GroupLayout.PREFERRED_SIZE))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(btuppdate, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        jPanel4.setLayout(null);

        jLabel10.setText("<html><font color = red>----------------------------------------------------------------------------------------------------------------------------------------------------------------------</font></html>");
        jPanel4.add(jLabel10);
        jLabel10.setBounds(10, 230, 640, 14);

        lbassignleve.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        lbassignleve.setText("<html><font color = yellow>Generate a request  for the shift timings & Check status of shift request</font></html>");
        lbassignleve.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                lbassignleveMouseClicked(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                lbassignleveMouseExited(evt);
            }
        });
        lbassignleve.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbassignleveMouseMoved(evt);
            }
        });
        jPanel4.add(lbassignleve);
        lbassignleve.setBounds(10, 190, 450, 40);

        lbassigndoctorserve.setText("<html><font color = yellow>View time schedule</font></html> ");
        lbassigndoctorserve.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                lbassigndoctorserveMouseClicked(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                lbassigndoctorserveMouseExited(evt);
            }
        });
        lbassigndoctorserve.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbassigndoctorserveMouseMoved(evt);
            }
        });
        jPanel4.add(lbassigndoctorserve);
        lbassigndoctorserve.setBounds(10, 110, 620, 70);

        jLabel8.setText("<html><font color = red>----------------------------------------------------------------------------------------------------------------------------------------------------------------------</font></html>");
        jPanel4.add(jLabel8);
        jLabel8.setBounds(10, 170, 640, 20);

        jLabel26.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel26.setText("<html><font color = blue>Benefits of Remedy Schedule</font></html>Benefits of Remedy Schedule");
        jPanel4.add(jLabel26);
        jLabel26.setBounds(10, 10, 200, 20);

        jLabel27.setText("<html><font color = blue>Remdedy Schedule is a Application will help manage of Hopital easy.</font></html> ");
        jPanel4.add(jLabel27);
        jLabel27.setBounds(30, 30, 400, 30);

        jLabel28.setText("<html><font color = blue>This software it is indispensable to any hospital.</font></html>");
        jPanel4.add(jLabel28);
        jLabel28.setBounds(30, 50, 320, 30);

        jLabel20.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/content.jpg"))); // NOI18N
        jPanel4.add(jLabel20);
        jLabel20.setBounds(0, 0, 650, 430);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                .addGroup(layout.createSequentialGroup()
                    .addGap(2, 2, 2)
                    .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addComponent(jPanel1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 782, javax.swing.GroupLayout.PREFERRED_SIZE))
            .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, 424, Short.MAX_VALUE)
                    .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, 424, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jLabel1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel1MouseClicked
       // JOptionPane.showMessageDialog(this, "mày muốn gì để tao yên");
       // this.jLabel1.setText("<html><a href =#><font color = blue>Home</font></a></html>");
    }//GEN-LAST:event_jLabel1MouseClicked

    private void jLabel1MouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel1MouseReleased
        JOptionPane.showMessageDialog(this, "mày muốn gì để tao yên");
        
    }//GEN-LAST:event_jLabel1MouseReleased

    private void jLabel1MouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel1MouseMoved
        this.jLabel1.setText("<html><a href =#><font color = blue>Home</font></a></html>");// TODO add your handling code here:
    }//GEN-LAST:event_jLabel1MouseMoved

    private void jLabel1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel1MouseExited
       this.jLabel1.setText("<html><font color = blue>Home</font></html>");
    }//GEN-LAST:event_jLabel1MouseExited

    private void jLabel2MouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel2MouseMoved
          this.jLabel2.setText("<html><a href =#><font color = blue>Support</font></a></html>");
    }//GEN-LAST:event_jLabel2MouseMoved

    private void jLabel2MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel2MouseExited
       this.jLabel2.setText("<html><font color = blue>Support</font></html>");
    }//GEN-LAST:event_jLabel2MouseExited

    private void lbAboutMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbAboutMouseMoved
        this.lbAbout.setText("<html><a href =#><font color = blue>About</font></a></html>");
    }//GEN-LAST:event_lbAboutMouseMoved

    private void lbAboutMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbAboutMouseExited
         this.lbAbout.setText("<html><font color = blue>About</font></html>");
    }//GEN-LAST:event_lbAboutMouseExited

    private void lbHelpMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbHelpMouseMoved
       this.lbHelp.setText("<html><a href =#><font color = blue>Help</font></a></html>");  
    }//GEN-LAST:event_lbHelpMouseMoved

    private void lbHelpMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbHelpMouseExited
        this.lbHelp.setText("<html><font color = blue>Help</font></html>");
    }//GEN-LAST:event_lbHelpMouseExited

    private void lbnewsMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbnewsMouseMoved
       this.lbnews.setText("<html><a href =#><font color = red>News</font></a></html>");
    }//GEN-LAST:event_lbnewsMouseMoved

    private void lbnewsMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbnewsMouseExited
       this.lbnews.setText("<html><font color = red>News</font></html>");
    }//GEN-LAST:event_lbnewsMouseExited

    private void lbeventMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbeventMouseMoved
        this.lbevent.setText("<html><a href =#><font color = red>Event</font></a></html>");
    }//GEN-LAST:event_lbeventMouseMoved

    private void lbeventMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbeventMouseExited
        this.lbevent.setText("<html><font color = red>Event</font></html>");
    }//GEN-LAST:event_lbeventMouseExited

    private void lbcontactMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbcontactMouseMoved
        this.lbcontact.setText("<html><a href =#><font color = red>Contact</font></a></html>");
    }//GEN-LAST:event_lbcontactMouseMoved

    private void lbcontactMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbcontactMouseExited
        this.lbcontact.setText("<html><font color = red>Contact</font></html>");
    }//GEN-LAST:event_lbcontactMouseExited

    private void inforMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_inforMouseMoved
        this.infor.setText("<html><a href =#><font color = red>Information of my company</font></a></html>");
    }//GEN-LAST:event_inforMouseMoved

    private void inforMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_inforMouseExited
        this.infor.setText("<html><font color = red>Information of my company</font></html>");
    }//GEN-LAST:event_inforMouseExited

    private void lbassigndoctorserveMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbassigndoctorserveMouseMoved
        this.lbassigndoctorserve.setText("<html><a href =#><font color = yellow>View time schedule</font></a></html>");
    }//GEN-LAST:event_lbassigndoctorserveMouseMoved

    private void lbassigndoctorserveMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbassigndoctorserveMouseExited
        this.lbassigndoctorserve.setText("<html><font color = yellow>View time schedule</font></html>");
    }//GEN-LAST:event_lbassigndoctorserveMouseExited

    private void lbassignleveMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbassignleveMouseMoved
        this.lbassignleve.setText("<html><a href =#><font color = yellow>Generate a request  for the shift timings & Check status of shift request</font></a></html>");
    }//GEN-LAST:event_lbassignleveMouseMoved

    private void lbassignleveMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbassignleveMouseExited
        this.lbassignleve.setText("<html><font color = yellow>Generate a request  for the shift timings & Check status of shift request</font></html>");
    }//GEN-LAST:event_lbassignleveMouseExited

    private void lbassigndoctorserveMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbassigndoctorserveMouseClicked
       ViewTimeSchedule form = new ViewTimeSchedule();
       form.setVisible(true);
      
       
    }//GEN-LAST:event_lbassigndoctorserveMouseClicked

    private void lbassignleveMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbassignleveMouseClicked
       StatusOfShiftRequest form = new StatusOfShiftRequest();
          form.setVisible(true);
       
    }//GEN-LAST:event_lbassignleveMouseClicked

    private void lblogoutMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblogoutMouseClicked
        int response = JOptionPane.showConfirmDialog(null, "Are you sure delete it?", "Confirm",
                JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
        if (response == JOptionPane.YES_OPTION) {
            this.dispose();
            
        }
    }//GEN-LAST:event_lblogoutMouseClicked

    private void lblogoutMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblogoutMouseExited
        this.lblogout.setText("<html><font color = blue>Log out</font></html>");
}//GEN-LAST:event_lblogoutMouseExited

    private void lblogoutMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblogoutMouseMoved
        this.lblogout.setText("<html><u><font color=blue><b>Log out</b></font></u></html>");
}//GEN-LAST:event_lblogoutMouseMoved
    
    /**
     * @param args the command line arguments
     */
//    public static void main(String args[]) {
//        java.awt.EventQueue.invokeLater(new Runnable() {
//
//            public void run() {
//                new Employee().setVisible(true);
//            }
//        });
//    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel Namelogin;
    private javax.swing.JButton btuppdate;
    private javax.swing.JLabel infor;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JLabel lbAbout;
    private javax.swing.JLabel lbHelp;
    private javax.swing.JLabel lbassigndoctorserve;
    private javax.swing.JLabel lbassignleve;
    private javax.swing.JLabel lbcontact;
    private javax.swing.JLabel lbevent;
    private javax.swing.JLabel lblogout;
    private javax.swing.JLabel lbnews;
    // End of variables declaration//GEN-END:variables
}
